from models import Config

class ConfigWrapper:
    def __getattr__(self, name):
        if name[:2] == '__': return None
        return Config.get(name)

siteconfig = ConfigWrapper()